Object.defineProperty(exports, "__esModule", {
  value: !0
});
var e = require("../../../@babel/runtime/helpers/regeneratorRuntime"),
  r = require("../../../@babel/runtime/helpers/objectSpread2"),
  t = require("../../../@babel/runtime/helpers/slicedToArray"),
  n = require("../../../@babel/runtime/helpers/asyncToGenerator");
Page({
  useStore: function (e) {
    return {
      customerServicePhone: e.global.customerServicePhone
    }
  },
  data: {
    addr: "广信区阳光时代1幢1802",
    email: "2511923917@qq.com",
    tel: "15207038013"
  },
  onLoad: function () {
    // this.getData()
  },
  getData: function () {
    var a = this;
    return n(e().mark((function n() {
      var u, o, s;
      return e().wrap((function (e) {
        for (;;) switch (e.prev = e.next) {
          case 0:
            return e.next = 2, $.request["GET/index/get-yupao?source=XCX"]();
          case 2:
            u = e.sent, o = t(u, 1), 200 === (s = o[0]).code && a.setData(r({}, s.content));
          case 6:
          case "end":
            return e.stop()
        }
      }), n)
    })))()
  }
});